using System;
using System.Diagnostics.CodeAnalysis;
using System.Web.UI;
using iPhOwa.Exchange;

namespace iPhOwa.Web.Controls
{
	/// <summary>
	/// Base class for controls that display folder content.
	/// </summary>
	[SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "i")]
	[SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "Ph")]
	[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Owa")]
	public class iPhOwaControl : UserControl
	{
		/// <summary>
		/// Folder path.
		/// </summary>
		public Uri Path { get; set; }

		/// <summary>
		/// The current session.
		/// </summary>
		[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Owa")]
		public OwaSession OwaSession { get; set; }
	}
}